<template>
    <router-view v-slot="{ Component }">
        <transition name="zoom-fade" mode="out-in" appear>
            <component :is="Component" />
        </transition>
    </router-view>
</template>

<script lang="ts">
import { defineComponent, ref } from 'vue';

export default defineComponent({
    name: 'router-transition',
});
</script>
